package com.lmt.ymcc.service;

import com.lmt.ymcc.domain.PayOrder;
import com.baomidou.mybatisplus.service.IService;
import com.lmt.ymcc.dto.CourseOrderPayparamDto;
import com.lmt.ymcc.dto.Order2PayParamDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author AmazingXu
 * @since 2022-08-20
 */
public interface IPayOrderService extends IService<PayOrder> {

    String apply(CourseOrderPayparamDto dto);

    PayOrder checkPayOrder(String orderNo);

    void savePayOrder(Order2PayParamDto order2PayParamDto);

    void cancelPayOrderByPayTimeOut(String orderNo);
}
